package me.firstapp.service.weixin.pay.impl;

import java.util.Date;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.member.PaymentRecord;
import me.firstapp.repository.weixin.member.PaymentRecordRepository;
import me.firstapp.service.weixin.pay.PaymentRecordService;

@Service
public class PaymentRecordServiceImpl implements PaymentRecordService {

	@Autowired
	private PaymentRecordRepository paymentRecordRepository;

	@Override
	public Page<PaymentRecord> findPaymentRecordPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Date startTime, Date endTime) {
		return paymentRecordRepository.findPaymentRecordPage(pageNo, pageSize, searchParams, sortParam, sortType,
				startTime, endTime);
	}

}
